#!/usr/bin/env bash
#docker build -t inspect-line:2.0 /home/docker/service/flowCard/
[[ -n $(docker ps -a | grep inspect-line-2.0 | awk '{print $1}') ]] &&
docker rm -f inspect-line-2.0
docker run \
       -d \
       --name inspect-line-2.0 \
       --restart always \
       -v /Users/swyan/D/IDEA/TianYu/inspect-line-2.0/logs:/home/service/logs \
       -p 20250:20250 \
       -p 20251:20251 \
       inspect-line:2.0